package com.ourteam.workspace.dao;

import net.dao.IDataAccessInterface;

/**
 * Template Name : DAO接口模板 Template Version : 1 Template Last Modfiy Date : Thu Sep 21 11:14:14 CST
 * 2017 Auto Generate Date : 2018-11-30 18:42:25 Warning ! This file will be overwrite when
 * regenerate !
 */
public interface IBaseWorkspaceScmConfigDAO
    extends IDataAccessInterface<WorkspaceScmConfig, WorkspaceScmConfigDAOQueryBean> {

  /** Mapped Entity Name */
  static final String EntityName = "WORKSPACE_SCM_CONFIG";

  /** Mapped Field ID */
  static final String Id = "WORKSPACE_SCM_CONFIG.ID";

  /** Mapped Field WORKSPACE_ID */
  static final String WorkspaceId = "WORKSPACE_SCM_CONFIG.WORKSPACE_ID";

  /** Mapped Field SCM_TYPE */
  static final String ScmType = "WORKSPACE_SCM_CONFIG.SCM_TYPE";

  /** Mapped Field PROTOCOL */
  static final String Protocol = "WORKSPACE_SCM_CONFIG.PROTOCOL";

  /** Mapped Field HOST_NAME */
  static final String HostName = "WORKSPACE_SCM_CONFIG.HOST_NAME";

  /** Mapped Field HOST_PORT */
  static final String HostPort = "WORKSPACE_SCM_CONFIG.HOST_PORT";

  /** Mapped Field MODULE */
  static final String Module = "WORKSPACE_SCM_CONFIG.MODULE";

  /** Mapped Field SCM_USER */
  static final String ScmUser = "WORKSPACE_SCM_CONFIG.SCM_USER";

  /** Mapped Field SCM_PASSWORD */
  static final String ScmPassword = "WORKSPACE_SCM_CONFIG.SCM_PASSWORD";

  /** Mapped Field STATUS */
  static final String Status = "WORKSPACE_SCM_CONFIG.STATUS";

  /** Mapped Field REMARKS */
  static final String Remarks = "WORKSPACE_SCM_CONFIG.REMARKS";

  /** Mapped Field BRANCH */
  static final String Branch = "WORKSPACE_SCM_CONFIG.BRANCH";

  /** Mapped Field LABEL */
  static final String Label = "WORKSPACE_SCM_CONFIG.LABEL";

  public static interface DataProperty {

    /** Attribute id */
    static final String Id = "id";

    /** Attribute workspaceId */
    static final String WorkspaceId = "workspaceId";

    /** Attribute scmType */
    static final String ScmType = "scmType";

    /** Attribute protocol */
    static final String Protocol = "protocol";

    /** Attribute hostName */
    static final String HostName = "hostName";

    /** Attribute hostPort */
    static final String HostPort = "hostPort";

    /** Attribute module */
    static final String Module = "module";

    /** Attribute scmUser */
    static final String ScmUser = "scmUser";

    /** Attribute scmPassword */
    static final String ScmPassword = "scmPassword";

    /** Attribute status */
    static final String Status = "status";

    /** Attribute remarks */
    static final String Remarks = "remarks";

    /** Attribute branch */
    static final String Branch = "branch";

    /** Attribute label */
    static final String Label = "label";
  }

  public static interface _DataObjectProperty extends DataProperty {}

  /**
   * Delete Data
   *
   * @param final long id
   * @throws Exception
   */
  void delete(final long id) throws Exception;
  /**
   * Find Data By Primary Key
   *
   * @param final long id
   * @throws Exception
   */
  WorkspaceScmConfig findById(final long id) throws Exception;
}
